main: Avoid a crash with crossing event handling
authorMatthias Clasen <mclasen@redhat.com>
Wed, 26 Aug 2020 11:26:01 +0000 (07:26 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 26 Aug 2020 11:27:38 +0000 (07:27 -0400)
commitb6eb85ee72c228fd5f9657dce7ac7d352be57ad3
tree59eb1df52429c91ec31f6cf9679c44fe553377de
parent44741e1b7730ab6a52dbd979901768d6e7eb33c7
main: Avoid a crash with crossing event handling

We are reusing the GtkCrossingData struct for multiple
calls here, so we need to make sure that the targets
stay alive from beginning to end.

Fixes: #3090
gtk/gtkmain.c